/*
 * @Author: 庄东东
 * @Date: 2021-08-31 16:00:27
 * @LastEditTime: 2021-09-19 11:03:35
 * @LastEditors: 庄东东
 * @Description:
 * @FilePath: \romance\src\routes\index.ts
 */
import { createRouter, createWebHashHistory } from "vue-router";
const a = 1;
const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      alias: "/index",
      path: "/",
      component: () => import("../page/index.vue")
    },
    {
      path: "/preference",
      component: () => import("../page/preference.vue")
    },
    {
      path: "/userInfo",
      component: () => import("../page/userInfo.vue")
    }
  ]
});

export default router;
